import request from "../utils/request";
// import qs from "qs";
/**
 *
 * @param {查询系统} params
 * @returns
 */
export function getSendList(params) {
    return request({
        url: "/heatSystem/getHeatSystemListByParams",
        method: "post",
        params,
    });
}

/**
 *
 * @param {查询节能类型} params
 * @returns
 */
export function getJieNengType(params) {
    return request({
        url: "/heatSystem/getHeatSystemHeatingTypes",
        method: "post",
        params,
    });
}

/**
 * 下发
 */

export function sendData(params) {
    return request({
        url: "/jieKong/senDataByListIdNew",
        method: "post",
        data: JSON.stringify(params),
        headers: {
            "Content-Type": "application/json",
        },
    });
}